package com.ruoyi.system.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 我的排查任务
 * </p>
 * @since 2023-03-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//@TableName("prevention_my_check_task")
@ApiModel(value="PreventionMyCheckTask对象", description="我的排查任务")
public class PreventionMyCheckTask implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "装置名称")
    private String deviceName;

    @ApiModelProperty(value = "单位名称")
    private String unitName;

    @ApiModelProperty(value = "风险事件")
    private String riskEvent;

    @ApiModelProperty(value = "隐患排查内容")
    private String checkContent;

    @ApiModelProperty(value = "排查周期")
    private String checkPeriod;

    @ApiModelProperty(value = "排查人员ID")
    private String checkPersonId;

    @ApiModelProperty(value = "排查人员名称")
    private String checkPersonName;

    @ApiModelProperty(value = "任务状态")
    private String taskStatus;

    @ApiModelProperty(value = "当前剩余时间")
    private String surplusDate;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;


}
